<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      /* .box {
        display: flex;
        gap: 20px;
        width: 500px;
        height: 500px;
        background-color: yellowgreen;
        position: absolute;
        left: calc(50% - 250px);
        top: calc(50% - 250px);
      } */
      .item {
        height: 100px;
        background-color: skyblue;
        flex-basis: calc((100% - 40px) / 3);
      }
      a::after{
        content: '('attr(href)')'
      }
      .box {
        height: 100px;
        background-color: #fac;
        width: clamp(400px, 50%, 600px);
      }
    </style>
  </head>
  <body>
    <!-- <div class="box">
      <div class="item"></div>
      <div class="item"></div>
      <div class="item"></div>
    </div> -->
    <!-- <a href="https://www.baidu.com">淘宝一下</a> -->
    <!-- attr -->
    <!-- min(num1, num2, num3 ....) max clamp -->
    <!-- 10, 20, 30 -->
    <!-- max(10, min(20, 30)) clamp(10, 20, 30)-->
    <div class="box"></div>
  </body>
</html>

